//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package study.IO.字符流;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class FileEncrypt {
    public FileEncrypt() {
    }

    public static void main(String[] args) throws IOException {
        FileInputStream in = new FileInputStream("JavaTest\\Files\\image\\01.jpg");
        FileOutputStream out = new FileOutputStream("JavaTest\\Files\\image\\01-copy.jpg");

        int c;
        while((c = in.read()) != -1) {
            c ^= 53;
            out.write(c);
        }

        in.close();
        out.close();
    }
}
